export function windowOpen(url, openType = 1) {
  if (openType == 1) {
    let urlJump = this.$router.resolve({ path: url })
    window.open(urlJump.href, '_blank')
  } else {
    if (url == this.$route.fullPath) {
      if(this.reload){
        this.reload()
      }else{
        let urlJump = this.$router.resolve({ path: url })
        window.open(urlJump.href, '_self')
      }
    } else {
      let urlJump = this.$router.resolve({ path: url })
      window.open(urlJump.href, '_self')
    }
  }
}
